@import "mixins";
$tabbar-z-index: 10;

.tabbar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 44px;
  z-index: $tabbar-z-index;
  background-color: #fff;
  @include display-flex();
  @include flex-wrap(wrap);
  margin: 0;
  padding: 0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  /*
  &:before {
    @include hairline(top);
  }
  */

  opacity: 0;
  transition: opacity .2s;
  -webkit-transition: opacity .2s;
  &.visible {
    opacity: 1;
  }

  &.fixed {
    position: fixed;
  }

  .tabbar-item {
    @include display-flex();
    @include flex(1);
    @include flex-direction(column);
    position: relative;

    .icon-wrapper {
      @include flex(none);
      height: 32px;
      text-align: center;
      font-size: 28px;
      line-height: 32px;
    }

    .text-wrapper {
      @include flex(1);
      text-align: center;
      font-size: 20px;
      line-height: 20px;
    }

    .von-badge {
      position: absolute;
      top: 2px;
      left: 50%;
      margin-left: 6px;
    }
  }

}
